{template 'common/header'}

{template 'common/slide'}

<style>
html,body{width:100%;;height:100%;	padding:0;	margin:0;}

 img{border:0;}
	body{
	width:100%;
	height:100%;

	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};

	color:{$_W['styles']['fontcolor']};

	background:url('{$_W['siteroot']}app/themes/shijihongda/images/home_bg.png')bottom no-repeat;

	background-size:100%;

	background-color:{if empty($_W['styles']['indexbgcolor'])}#f2f2f2{else}{$_W['styles']['indexbgcolor']}{/if};

	{$_W['styles']['indexbgextra']}

	}

	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}

	{$_W['styles']['css']}
	.img-rounded { border-radius:0px;}

	.box{width:100%; padding:5% 3% 5% 3%; overflow:hidden;border-radius: 6px; text-align:center; margin:auto;}

	.box .box-item{float:left;text-align:center;display:block;text-decoration:none;outline:none;height:auto;position:relative; color:#d27400;overflow:hidden;  background:#fff; border-right:1px solid #efefef;border-bottom:1px solid #efefef; width:33%; padding:1.5% 0; font-size:15px;}

	.box .box-item i{display:inline-block;width:50px;height:65px;line-height:65px;font-size:35px;color:#FFF; overflow: hidden;}

	.box .box-item img{display:inline-block; width:80%;height:80%; margin:0 auto;}

	.box .box-item span{color:{if empty($_W['styles']['fontnavcolor'])}#333{else}{$_W['styles']['fontnavcolor']}{/if};display:block;height:25px; line-height:25px; width:100%; padding:0 5px; overflow:hidden;  border-bottom-left-radius:6px;border-bottom-right-radius:6px; -moz-border-radius-bottomleft:6px; -moz-border-radius-bottomright:6px; -webkit-border-bottom-left-radius:6px; -webkit-border-bottom-right-radius:6px;}

	.footer{color:#ffffff;}
	.nav-menu-app .nav-group .nav-group-item a i {
		display: block;
		height: 30px;
		padding-top: 3px;
		line-height: 30px;
		width: 100%;
		text-align: center;
		font-size: 16px;
		color: #fff;
	}
	.carousel-indicators{
	bottom:-10px;
	}
	
</style>

<div class="box clearfix">



	{php $num = 1;}

	{loop $navs $nav}



	<a href="{$nav['url']}" class="box-item img-rounded">

		{if !empty($nav['icon'])}

		<img src="{$_W['attachurl']}{$nav['icon']}">

		{else}

		<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>

		{/if}

		<span style="{$nav['css']['name']}">{$nav['name']}</span>

	</a>

	{php $num++;}

	{php if($num >= 7) $num = 1;}

	{/loop}

</div>

